Skip to content

fix(jobs): add error logging to child.kill catch block#179

Merged
gHashTag merged 1 commit into
mainfrom
feat/issue-178
Mar 11, 2026
Merged

fix(jobs): add error logging to child.kill catch block#179
gHashTag merged 1 commit into
mainfrom
feat/issue-178

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

  • Add proper error logging in src/tri/job_system.zig line 575
  • Replace silently ignored catch {} with catch |err| { std.log.warn(...) }
  • Error is now logged when killing a child process fails during job cleanup

Test plan

  • Code change matches the issue specification exactly
  • zig fmt src/ passes (no formatting issues)
  • Build passes (pre-existing errors in unrelated files)

Closes #178

🤖 Generated with Claude Code

Log the error instead of silently swallowing it when killing a child
process fails in Job.deinit().

Closes #178

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gHashTag gHashTag merged commit d576936 into main Mar 11, 2026
4 of 6 checks passed
gHashTag added a commit that referenced this pull request Mar 18, 2026
fix(jobs): add error logging to child.kill catch block
@gHashTag gHashTag deleted the feat/issue-178 branch April 3, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(jobs): add error logging to catch {} in job_system.zig child.kill

1 participant